<?php
/*  LOAD SYSTEM FUNCTIONS MANUALLY
    ============================================================================================================== */
	require_once( "functions/inc.database.php" );
	require_once( "functions/inc.getData.php" );
	require_once( "functions/inc.pageSetup.php" );
	
	# init session
	session_start();
	
	page_header( "Wayne Schlegel Inc. | Login", false );
	
?>
<p>You are not logged in!</p>
<?php
	if( !isset( $_GET['landing_page'] ) ){
		$_GET['landing_page'] = "";
	}
?>
<form name="mf_login" id="mf_login" method="post" action="loginCheck.php" class="iForm formTable">
	<input type="hidden"   name="landing_page" value="<?php echo $_GET['landing_page']; ?>" />
	<label for="myFlight_login" style="clear: both;" >username</label>
	<input type="text"     name="myFlight_login" autocorrect="off" />
	<label for="myFlight_password">password</label>
	<input type="password" name="myFlight_password" autocorrect="off" />
	<label>&nbsp;</label>
	<input type="submit" value="login" />
</from>
<p><a href="loginRegister.php">Register now!</a> | <a href="loginRecoverPassword.php">Forgot your password?</a></p>
</body>
</html>